package com.REPDPMSystem.Entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@TableName("hoff.employee")
public class Employee {
    @JsonProperty("employee_name")
    private String employee_name;

    @JsonProperty("staff_id")
    @TableId
    private String staff_id;

    @JsonProperty("employee_status")
    private int employee_status;

    @JsonProperty("employee_department")
    private int employee_department;

    @JsonProperty("employee_position")
    private int employee_position;

    @JsonProperty("employee_phone")
    private String employee_phone;

    @JsonProperty("user_name")
    private String user_name;

    @JsonProperty("password")
    private String password;
    // 省略getter和setter方法
}

